package com.example.auth.service;

import com.example.auth.model.VO.UserLoginVO;
import com.example.auth.model.base.Result;
import com.example.auth.model.req.LoginReq;
import com.example.auth.model.req.RegisterReq;

/**
 * @author xijie.wang
 * @decription:登录注册
 * @date 2022-04-11 17:43
 */
public interface ILoginService {
	/**
	 * 用户登录
	 *
	 * @param req
	 * @return
	 */
	Result<UserLoginVO> login(LoginReq req);

	/**
	 * 注册
	 *
	 * @param req
	 * @return
	 */
	Result<String> register(RegisterReq req);
}
